home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.6 / linuxcon / usr / lib / linuxconf / mailconf / rulesets.s96.dns.cf < prev    next >
Encoding:
Text File  |  1996-08-04  |  960 b   |  27 lines

  1. ### Use dns 
  2. ################################################
  3. ###  Ruleset 96 -- bottom half of ruleset 3  ###
  4. ################################################
  5.  
  6. #  At this point, everything should be in a "local_part<@domain>extra" format.
  7. S96
  8.  
  9. # handle special cases for local names
  10. R$* < @ localhost > $*        $: $1 < @ $j . > $2        no domain at all
  11. R$* < @ localhost . $m > $*    $: $1 < @ $j . > $2        local domain
  12. R$* < @ [ $+ ] > $*        $: $1 < @@ [ $2 ] > $3        mark [a.b.c.d]
  13. R$* < @@ $=w > $*        $: $1 < @ $j . > $3        self-literal
  14. R$* < @@ $+ > $*        $@ $1 < @ $2 > $3        canon IP addr
  15.  
  16. # pass to name server to make hostname canonical
  17. R$* < @ $* $~P > $*        $: $1 < @ $[ $2 $3 $] > $4
  18.  
  19. # local host aliases and pseudo-domains are always canonical
  20. R$* < @ $=w > $*        $: $1 < @ $2 . > $3
  21. R$* < @ $* $=P > $*        $: $1 < @ $2 $3 . > $4
  22. R$* < @ $* . . > $*        $1 < @ $2 . > $3
  23.  
  24. # if this is the local hostname, make sure we treat is as canonical
  25. R$* < @ $j > $*            $: $1 < @ $j . > $2
  26.  
  27.